<template>
  <view>
    欢迎您 {{user.name}}
  </view>
</template>

<script>
  export default {
    data() {
      return {
        user:{}
      }
    },
    onLoad(){
      uni.uv.api.user.getUser(1).then(res=>{
        this.user = res;
      })
    },
    methods: {

    }
  }

</script>

<style lang="scss" scoped>

</style>
